package com.base.dataStructure.deque;

/**
 * @Author: hdhao
 * @Create: 2023/4/1 - 22:55
 * @Version: v1.0
 */
//双端队列接口
public interface Deque<E> {
    boolean offerFirst(E e);
    boolean offerLast(E e);
    E pollFirst();
    E pollLast();
    E peekFirst();
    E peekLast();
    boolean isEmpty();
    boolean isFull();
}
